/*
 * Copyright (C) GSX Techedu Inc. All Rights Reserved
 * Unauthorized copying of this file, via any medium is strictly prohibited
 * Proprietary and confidential
 */

package com.nime.novel.crawl.constant;

/**
 * @author liujialiang
 * @description
 * @team wuhan operational dev.
 * @date 2020/8/27 4:53 下午
 **/
public enum StatusEnum {
    TODO(0, "未爬取"),
    DONE(1, "已经爬取"),
    FAIL(2, "爬取失败"),
    DOING(3, "爬取中"),
    ;

    private int code;
    private String desc;

    StatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

}
